package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.SysOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.dto.OrderSelectRequestDTO;
import com.ruoyi.system.vo.req.order.OrderSelectRequestVO;
import com.ruoyi.system.vo.resp.SysOrderRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author xdh
* @description 针对表【sys_order】的数据库操作Mapper
* @createDate 2024-07-01 17:59:34
* @Entity com.ruoyi.system.domain.SysOrder
*/
public interface SysOrderMapper extends BaseMapper<SysOrder> {

    IPage<SysOrderRespVo> pageBySql(IPage<SysOrder> page, @Param("req") OrderSelectRequestDTO req, @Param("deptId") Long deptId);

    List<SysOrderRespVo> listBySql(@Param("orderId")Integer orderId,@Param("tel")String orderHarverTel, @Param("address")String orderHarverAddress,@Param("deptId")Long deptId);
}




